<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>限制div高度，内容多了显示滚动条</title>
<link
	href="${webRoot}/static/global/plugins/bootstrap/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<script src="${webRoot}/static/global/plugins/jquery.min.js"
	type="text/javascript"></script>
<script type="text/javascript">
	// 项目访问根目录
	var webRoot = '${webRoot}';
</script>
<script type="text/javascript">
	function openurl() {

		$.ajax({
			type : 'post',
			url : webRoot + '/deliverGoods/listFrameEdit',
			dataType : 'html',
			success : function(data) {

				$(".body-content-box").html(data)
			}
		});
	}
</script>
</head>
<body>
	<div class="body-content-box">
		<table class="table table-striped table-hover table-info">
			<thead>
				<tr>
					<th>代码</th>
					<th>名称</th>
					<th>跟踪号</th>
					<th>启用</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${dlist}" var="log" varStatus="vs">
					<tr>
						<td>${log.code}</td>
						<td>${log.name}</td>
						<td><c:if test="${log.type=='1'}">有</c:if> <c:if
								test="${log.type=='0'}">无</c:if></td>
						<td><c:if test="${log.type=='1'}">
								<input type="checkbox" checked />
							</c:if> <c:if test="${log.type=='0'}">
								<input type="checkbox" />
							</c:if></td>
						<td><a onclick="openurl()">编辑</a></td>
					</tr>
				</c:forEach>

			</tbody>
		</table>
	</div>
</body>
</html>
